package com.music.authority.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.music.authority.dao.UpVedioDao;
import com.music.authority.service.UpVedioService;
import com.music.domain.Video;

/**
 * 实现类
 * @author LFSenior
 *
 */
@Service
public class UpVedioServiceImpl implements UpVedioService {

	@Autowired
	UpVedioDao upVedioDao;
	
	@Override
	public void insertVedio(Map param) {
		upVedioDao.insertVedio(param);
	}

	@Override
	public void deleteVedio(String VedioId) {
		upVedioDao.deleteVedio(VedioId);
	}

	@Override
	public List<Video> findAllVedio() {
		return upVedioDao.findAllVedio();
	}

}
